<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="../assets/lib/layui/css/layui.css">
  <style>
    body {
      background-color: #f1f2f5;
      padding: 15px;
    }

    .layui-card-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
  </style>
</head>

<body>
  <div class="layui-card">
    <div class="layui-card-header">
      类别管理
      <button type="button" class="layui-btn layui-btn-normal layui-btn-sm">添加类别</button>
    </div>
    <div class="layui-card-body">
      <table class="layui-table">
        <colgroup>
          <col width="10%">
          <col width="35%">
          <col width="35%">
          <col>
        </colgroup>
        <thead>
          <tr>
            <th>ID</th>
            <th>类别名称</th>
            <th>类别别名</th>
            <th>操作</th>
          </tr>
        </thead>
        <tbody>
          <tr>
            <td>15</td>
            <td>艺术</td>
            <td>art</td>
            <td>
              <button type="button" class="layui-btn layui-btn-xs">编辑</button>
              <button type="button" class="layui-btn layui-btn-xs layui-btn-danger">删除</button>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </div>

  <script src="../assets/lib/layui/layui.js"></script>
</body>

</html>